package com.jhs.kjs.robot.service.impl;

import java.util.List;

import com.jhs.kjs.dto.CarDTO;
import com.jhs.kjs.model.daumMap.dto.DaumMapDTO;
import com.jhs.kjs.robot.service.ICoord2AddrService;
import com.jhs.kjs.robot.service.dao.ICoord2AddrMapper;

public class Coord2AddrServiceImpl implements ICoord2AddrService{

	private ICoord2AddrMapper mapper;

	public void setMapper(ICoord2AddrMapper mapper) {
		this.mapper = mapper;
	}

	@Override
	public String test() throws Exception {
		return mapper.test();
	}

	@Override
	public List<CarDTO> getNullOfAddress() throws Exception {
		return mapper.getNullOfAddress();
	}

	@Override
	public void updateCAR(CarDTO car) throws Exception {
		mapper.updateCAR(car);
	}

	@Override
	public void insertIntoCARPOSITIONADDR(CarDTO car) throws Exception {
		mapper.insertIntoCARPOSITIONADDR(car);
	}

	@Override
	public List<CarDTO> makingPagingAddr(DaumMapDTO mapDto)
			throws Exception {
		return mapper.makingPagingAddr(mapDto);
	}

	@Override
	public int checkCARPOSITIONADDRExsit(CarDTO car) throws Exception {
		return mapper.checkCARPOSITIONADDRExsit(car);
	}

}
